package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.bigdata.common.core.domain.BaseEntity;

/**
 * 关于我们业务对象 data_pages
 *
 * @author ruoyi
 * @date 2025-09-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DataPagesBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 关联的菜单项ID
     */
    @NotNull(message = "关联的菜单项ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long menuItemId;

    /**
     * 页面HTML内容
     */
    @NotBlank(message = "页面HTML内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;


}
